<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>
  let  a =1;
  let b = true;

  console.log(a==b);//true
  console.log(a===b);//false

  console.log((0.1+0.7)*10 ==8);//false

  console.log((0.2+0.6)*10==8);//true

  console.log('3'>'10');//true

  //三目运算符
  let c =0;
  let d =1;
  console.log(c==0 ? 'Yes' : 'No');//true

  //面试题
  console.log(c = 1 ? 'Yes' : 'No');//true

</script>
</body>
</html>